<?php 
include ("header.php");
?>
        
<!-- center -->
<div id="center">
	<table>
		<tr>
			<td class="list">
				<div class="listUsers"></div>
			    <br clear="all">
			    <div class="listfile"></div>
			</td>
			<td class="info">
				<div class="UserInfo">
					<form id="userForm" onsubmit="saveUser(); return false;" action="<?php echo $_SERVER['PHP_SELF']?>">
					<fieldset>Nuovo utente</fieldset>
						<div id="frm_messages" class="message"></div>
						<label for="Username">Username*: </label>
						<input type="text" name="Username" placeholder="nome utente" required pattern="^[a-zA-Z][a-zA-Z0-9-_\.]{6,11}"/>
						<br clear="all" />
						<label for="Password">Password*: </label>
						<input type="password" name="Password" placeholder="password" required pattern="^[a-zA-Z][a-zA-Z0-9-_\.]{6,11}"/>
						<br clear="all" />
						<label for="RealName">Nome Completo*: </label>
						<input type="text" name="RealName" placeholder="Marco Rossi" required/>
						<br clear="all" />
						<label for="Email">Email*: </label>
						<input type="email" name="Email" placeholder="marcorossi@gmail.com" required/>
						<br clear="all" />
						<input type="hidden" name="action" value="save">
						<input type="hidden" name="recId" value="0">
						<input class="inputSubmit" type="submit" name="salva" value="salva" />
						
					</form>
				</div>
			</td>
		</tr>
	</table>
</div>
<?php include ("footer.php")?>
<script type="text/javascript">
<!--
getUserList();

$("#firstLabelNav").html("<a href=\"index.php\">Home</a>");
$("#secondLabelNav").html("Gestione utenti");
//-->
</script>